package com.cdl;

/**
 * @author cdl
 * @date 2025/10/13
 */
public class MagicWand implements MagicItem<String> {

    private String description;

    public MagicWand(String description) {
        this.description = description;
    }
    @Override
    public void use(String target) {
        System.out.println("使用魔 " + description + "对" + target + "施加魔法") ;
    }

    @Override
    public String getDescription() {
        return description;
    }



}
